package com.peng.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.peng.model.TClue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peng.result.NameValue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Love-ovo
* @description 针对表【t_clue(线索表)】的数据库操作Mapper
* @createDate 2025-03-14 21:28:14
* @Entity com.peng.model.TClue
*/
@Mapper

public interface TClueMapper extends BaseMapper<TClue> {

    IPage<TClue> selectUserPage(Page<TClue> tCluePage);

    void saveClue(List<TClue> cachedDataList);

    TClue getClueById(@Param(value="id") Integer id);

    List<NameValue> selectBySource();
}




